package com.ahp.service;

import java.util.List;
import java.util.Map;

import com.ahp.bean.EvaleObject;
import com.ahp.bean.Tast;

public interface EvaleObjectService {
	/**
	 * 添加新评估对象
	 * @param evaleObject
	 * @return
	 * @date:Sep 6, 2009
	 * @author: 李晓娜
	 */
	public Integer addEvaleObject(EvaleObject evaleObject);
	
	/**
	 * 查询
	 * @param id
	 * @return
	 * @date:Sep 6, 2009
	 * @author: 李晓娜
	 */
	public List<EvaleObject> findEvaleObject(Integer id);
	
	/**
	 * 查询
	 * @param id
	 * @return
	 * @date:Sep 6, 2009
	 * @author: 李晓娜
	 */
	public List<EvaleObject> findEvaleObjects(List<Integer> list, Integer taskId);
	
	/**
	 * 删除
	 * @param evaleObject
	 * @return
	 * @date:Sep 7, 2009
	 * @author: 李晓娜
	 */
	public boolean delEvaleObject(EvaleObject evaleObject);
	/**
	 * 查询
	 * @param id
	 * @return
	 * @date:Sep 6, 2009
	 * @author: 李晓娜
	 */
	public Map<String, Float> objectIdToName(Map<String, Float> map);
	/**
	 * 修改
	 * @param id
	 * @return
	 * @date:Sep 6, 2009
	 * @author: 李晓娜
	 */
	public void saveObjectScore(Map<String, Float> map);
	/**
	 * 查询
	 * @param id
	 * @return
	 * @date:Sep 6, 2009
	 * @author: 李晓娜
	 */
	public List<EvaleObject> listObject(Integer taskId);
	

	/**
	 * @param id
	 * @return
	 * @date:Sep 21, 2009
	 * @author: 李晓娜
	 */
	public Tast getTask(Integer id);
}
